<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" 
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"   
      xmlns:h="http://java.sun.com/jsf/html"
      xmlns:ui="http://java.sun.com/jsf/facelets"
      xmlns:c="http://java.sun.com/jsp/jstl/core"
      xmlns:f="http://java.sun.com/jsf/core"
      >
<head profile="http://gmpg.org/xfn/11">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
<title>IziTicket</title>
<link rel="stylesheet" href="styles/styles.css" type="text/css" media="screen"/>
</head><body>
<f:view>
<div class="main">
<div class="main-width">
<div class="main-bgr">
<div class="header">
<div class="logo">
<div class="indent">
<h1 onclick="location.href='home.xhtml'">Tickets Online</h1>
</div>
</div>
<div class="search">
<div class="indent">
<ui:include src="login.xhtml" />
</div>
</div>
<div class="main-menu">
<div class="corner-left"><div class="corner-right">
<div class="menu">
<ul>
<li class="page_item page-item-2"><a href="home.xhtml" title="Accueil"><span><span>Accueil</span></span></a></li>
<li class="page_item page-item-17"><a href="" title="Events"><span><span>Events</span></span></a></li>
<li class="page_item page-item-15"><a href="" title="Infos"><span><span>Infos</span></span></a></li>
<li class="page_item page-item-25"><a href="" title="Contacts"><span><span>Contacts</span></span></a></li>
<h:panelGroup rendered="#{mbLogin.connecte}">
<li class="page_item page-item-25"><a href="faces/monCompte.xhtml" title="Mon compte"><span><span>Mon compte</span></span></a></li>
<li class="page_item page-item-25">
<h:form >
<h:commandLink actionListener="#{mbHistorique.getCommandesFromUtilisateur}">
				<f:attribute name="idUtilisateur" value="#{mbLogin.utilisateur.idUtilisateur}"/>
				<span><span>Mes commandes</span></span>
			</h:commandLink>
</h:form>
</li>
</h:panelGroup>

</ul>
</div>
</div></div>
</div>
<div class="custom">
<ui:repeat var="spect" value="#{mbTopSpectacles.spectacles}" >

<h:form>
<div class="left box01">
<div class="text">
<h:commandLink actionListener="#{mbSpectacle.start}">
<f:attribute name="idSpectacle" value="#{spect.idSpectacle}"/>
	<h:graphicImage value="/images/#{spect.idSpectacle}.jpg" />
</h:commandLink>
</div>
<div class="links">
<h:commandLink actionListener="#{mbSpectacle.start}" value="voir la fiche">
<f:attribute name="idSpectacle" value="#{spect.idSpectacle}"/>
</h:commandLink>
</div>
</div>
</h:form>
</ui:repeat>
</div>
</div>
<div class="content"><div class="content-bgr"><div class="column-left">
<div class="widget widget_specials">
<div class="widget-bgr"><div class="indent">
<div class="title">
<div><div>
<h2>PANIER</h2>
</div></div>
</div>
<div class="blocEncartPanier"><ui:include src="encartPanier.xhtml"/></div>
<div>
</div>
</div></div>
<div class="widget widget_archive">
<div class=""><div class="indent">
<div class="title">
<div><div>
<h2>Recherche</h2>
</div></div>
</div>
<ui:include src="recherche.xhtml" />
</div>
</div></div>


</div>

</div><div class="column-center">
<ui:include src="ficheSpectacle.xhtml" /></div>
</div>
</div>
</div>
</div></div>
</f:view>
</body></html>